import AuthDirective from './permission/auth';
import RoleDirective from './permission/role';
export const myDirective = {
  install(Vue) {
    // 添加指令
    Vue.directive('hasAuth', AuthDirective);
    Vue.directive('hasRole', RoleDirective);
  }
};
